package com.joplus.housekeeper.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * author Administrator
 * time 2016/6/22 15:54
 */
public class ReserverDinnerTimeBean {

    /**
     * timeList : [{"_gap":0.5,"showTime":["11:00","11:30","12:00","12:30","13:00","13:30","14:00"],"mealTime":"午餐","_start":"11:00","_end":"14:00","aheadDate":"","aheahTime":"09:00"},{"_gap":0.5,"showTime":["14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00"],"mealTime":"下午茶","_start":"14:00","_end":"18:00","aheahTime":"12:00","aheadDate":""},{"_gap":0.5,"showTime":["18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00"],"mealTime":"晚餐","_start":"18:00","_end":"22:00","aheahTime":"17:00"},{"_gap":0.5,"showTime":[],"mealTime":"夜场","_start":"22:00","_end":"02:00","aheahTime":"19:00"}]
     * code : 200
     * message : 操作成功
     */

    private String code;
    private String message;

    /**
     * _gap : 0.5
     * showTime : ["11:00","11:30","12:00","12:30","13:00","13:30","14:00"]
     * mealTime : 午餐
     * _start : 11:00
     * _end : 14:00
     * aheadDate :
     * aheahTime : 09:00
     */


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private DataBean data = new DataBean();

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<TimeListBean> timeList = new ArrayList<>();

        public List<TimeListBean> getTimeList() {
            return timeList;
        }

        public void setTimeList(List<TimeListBean> timeList) {
            this.timeList = timeList;
        }


        public static class TimeListBean {
            private double _gap;
            private String mealTime;
            private String _start;
            private String _end;
            private String aheadDate;
            private String aheahTime;
            private List<String> showTime;

            public double get_gap() {
                return _gap;
            }

            public void set_gap(double _gap) {
                this._gap = _gap;
            }

            public String getMealTime() {
                return mealTime;
            }

            public void setMealTime(String mealTime) {
                this.mealTime = mealTime;
            }

            public String get_start() {
                return _start;
            }

            public void set_start(String _start) {
                this._start = _start;
            }

            public String get_end() {
                return _end;
            }

            public void set_end(String _end) {
                this._end = _end;
            }

            public String getAheadDate() {
                return aheadDate;
            }

            public void setAheadDate(String aheadDate) {
                this.aheadDate = aheadDate;
            }

            public String getAheahTime() {
                return aheahTime;
            }

            public void setAheahTime(String aheahTime) {
                this.aheahTime = aheahTime;
            }

            public List<String> getShowTime() {
                return showTime;
            }

            public void setShowTime(List<String> showTime) {
                this.showTime = showTime;
            }


        }
    }


}
